export let Props = {
    duration:{
        type:Number,
        default:3000
    },
    message:{
        type:String,
        default:""
    },
    icon:{
        type:String,
        default:""
    },
    type:{
        type:String,
        default:"info"
    }
}

// export interface MessageHandler {
//     colse:()=>void
// }

// export type MessageTypedFn = (options:{})=>MessageHandler

export interface message {
    success:(options?:{})=>{},
    warning:(options?:{})=>{},
    info:(options?:{})=>{},
    error:(options?:{})=>{}
}